package org.jxc.dao;

import org.hibernate.SessionFactory;
import org.jxc.domain.SalesBackOrderProduct;
import org.team4.dao.GenericDAO;

/**
 * <p>程序名称：      PurchaseOrderProductDAO.java</p>
 * <p>程序说明：       采购单货品DAO</p>
 * <p>版权信息：       Copyright 深圳市维远泰克科技有限公司</p>
 * <p>时间：          Jan 7, 2011 4:03:51 PM</p>	
 * 
 * @author：          Marker.King
 * @version：         Ver 0.1
 */
public class SalesBackOrderProductDAO extends GenericDAO<SalesBackOrderProduct> {

	private static final long serialVersionUID = 376038639038947152L;
	private static SalesBackOrderProductDAO instance;
	
	public static SalesBackOrderProductDAO getInstance(SessionFactory sessionFactory) {
        if(instance == null) {
            instance =  new SalesBackOrderProductDAO(sessionFactory);
        }
        return instance;
    }
	
	private SalesBackOrderProductDAO(SessionFactory sessionFactory) {
		super(sessionFactory, SalesBackOrderProduct.class);
	}
}